#include "MessageQueue.h"

MessageQueue::MessageQueue(void)
{
}

MessageQueue::~MessageQueue(void)
{
}

void MessageQueue::Enqueue(Message m)
{
	messageQueue.push_back(m);
}

Message MessageQueue::Dequeue()
{
	Message m = messageQueue[0];
	messageQueue.pop_front();
	return m;
}

bool MessageQueue::HasMessage()
{
	return messageQueue.size() != 0;
}
